package com.hyt.it.ogt.kq.service.gov.model.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.hyt.it.ogt.kq.service.gov.model.excel.convert.RegistConverter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.codehaus.jackson.annotate.JsonIgnore;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author Chengxh
 * @since 2021-08-14
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "考场注册VO类")
public class RegisterVO implements Serializable {
	
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "省")
	@ExcelProperty(value = "省份")
    private String province;
	
	@ApiModelProperty(value = "市")
	@ExcelProperty(value = "城市")
    private String city;
	
	@ApiModelProperty(value = "区")
	@ExcelProperty(value = "区/县")
    private String district;
	
	@ApiModelProperty(value = "考点名称")
	@ExcelProperty(value = "考点名称")
    private String placeName;
	
	@ApiModelProperty(value = "考点编号")
	@ExcelProperty(value = "考点编号")
    private String placeCode;
	
	@ApiModelProperty(value = "考点注册码")
	@ExcelProperty(value = "考点注册码")
    private String placeRegisterCode;
	
	@ApiModelProperty(value = "考场id")
	@ExcelIgnore
    private String roomId;
	
	@ApiModelProperty(value = "考场名称")
	@ExcelProperty(value = "考场名称")
    private String roomName;
	
	@ApiModelProperty(value = "考场编号")
	@ExcelProperty(value = "考场编号")
    private String roomCode;
	
	@ApiModelProperty(value = "考场注册码")
	@ExcelProperty(value = "考场注册码")
    private String roomRegisterCode;
	
	@ApiModelProperty(value = "考场位置")
	@ExcelProperty(value = "考场位置")
    private String roomAddress;
	
	@ApiModelProperty(value = "注册人")
	@ExcelProperty(value = "注册人")
    private String linkman;
	
	@ApiModelProperty(value = "注册人电话")
	@ExcelIgnore
    private String telephone;
	
	@ApiModelProperty(value = "注册时间")
	@ExcelIgnore
    private String registerTime;
	
	@ApiModelProperty(value = "是否注册")
	@ExcelProperty(value = "是否注册", converter = RegistConverter.class)
    private Boolean registered;

	@JsonIgnore
	@ApiModelProperty(value = "考场注册地址")
	@ExcelProperty(value = "考场注册地址")
	private String registAdress;
}
